﻿namespace BM.Tools.WebControls.MForm.Controls.Helper
{
    using System;

    /// <summary>
    /// When the property has this attribute, the property value will added to control's attribute collection
    /// This functionality works with the <see cref="AttributeAttacher" /> class
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public sealed class AttributePropertyAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets Name.
        /// </summary>
        /// <value>
        /// The name of the attribute.
        /// </value>
        public string Name
        {
            get;
            set;
        }
    }
}